Skip to content

[tsp-client] Update output-dir processing#13355

Closed
catalinaperalta wants to merge 1 commit intomainfrom
tsp-client/fix-output-dir
Closed

[tsp-client] Update output-dir processing#13355
catalinaperalta wants to merge 1 commit intomainfrom
tsp-client/fix-output-dir

Conversation

@catalinaperalta
Copy link
Member

@catalinaperalta catalinaperalta commented Dec 15, 2025

Fix output-dir processing by defaulting the value to undefined unless otherwise specified. There should be no behavioral change due to this update, due to the change to defaulting to undefined, if --output-dir isn't passed tsp-client will still resolve it to the cwd(), otherwise the value will be resolved in relation to the cwd() same as before.

@catalinaperalta catalinaperalta marked this pull request as ready for review December 18, 2025 23:38
Copilot AI review requested due to automatic review settings December 18, 2025 23:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the output-dir option processing to improve code clarity by explicitly handling the undefined case. The default value is changed from "." to undefined, and the resolveOutputDir function is updated to check for undefined explicitly before calling resolvePath.

Key Changes:

  • Changed the default value of the output-dir option from "." to undefined
  • Added explicit conditional logic to handle undefined output-dir by directly using process.cwd()

@github-actions
Copy link

Hi @catalinaperalta. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue. label Feb 20, 2026
@github-actions
Copy link

Hi @catalinaperalta. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing /reopen if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the no-recent-activity label; otherwise, this is likely to be closed again with the next cleanup pass.

@github-actions github-actions bot closed this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-recent-activity There has been no recent activity on this issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants